const util=require("./util");
exports.calculate=function(num1=0,num2=0,type='add'){
    let result=0;
    switch(type){
        case 'add':
            result=util.add(num1,num2);
            break;
        case 'sub':
            result=util.sub(num1,num2);
            break;
    }
    return result;
};
